<!--[*
// ----------------------------------------------------------------------
// Source file:  $Source: /cvsroot/pn-commerce/pn-commerce/pntemplates/pncommerce_admin_config.html,v $
//
// Last changes from:  $Author: haehnchen $
//
// Revision:           $Revision: 1.47 $
//
// Date of revision    $Date: 2005/08/08 19:39:17 $
//
// ----------------------------------------------------------------------
*]-->

<script type="text/javascript">
<!--

function populate(shopconfig, selected) 
{

  var states = "<!--[ pnml name='_PNC_SELECTSTATE' ]-->,<!--[ pnml name='_PNC_USSTATES' ]-->";
  var stateArray = states.split(",");
  var provinces = "<!--[ pnml name='_PNC_SELECTPROVINCE' ]-->,<!--[ pnml name='_PNC_CAPROVINCES' ]-->";
  var provinceArray = provinces.split(",");

  var noArray = new Array("('--------------------','',true,true)");

  if (selected == '<!--[ pnml name='_PNC_USA' ]-->')
  {
    shopconfig.State.style.display="inline";
    for (var i=0; i < stateArray.length; i++) 
    {
        if (stateArray[i] == "<!--[ $User.State ]-->")
        {
            newstate = new Option( stateArray[i], stateArray[i], true, true );
        }
        else
        {
            newstate = new Option( stateArray[i], stateArray[i], false, false );
        }
        shopconfig.State.options[i] = newstate;
	}
	return;
  }

  if (selected == '<!--[ pnml name='_PNC_CANADA' ]-->') 
  {
    shopconfig.State.style.display="inline";
    while (provinceArray.length < shopconfig.State.options.length) 
    {
        shopconfig.State.options[(shopconfig.State.options.length - 1)] = null;
    }
    for (var i=0; i < provinceArray.length; i++) 
    {
        if (provinceArray[i] == "<!--[ $shopConfigSupplier.State ]-->")
        {
            newprovince = new Option( provinceArray[i], provinceArray[i], true, true );
        }
        else
        {
            newprovince = new Option( provinceArray[i], provinceArray[i], false, false );
        }
        shopconfig.State.options[i] = newprovince;
	}
	return;
  }
  shopconfig.State.style.display="none";
}
-->
</script>

<!--[include file='pncommerce_admin_commonHeader.html']-->

<!--[pnml name='_PNC_TYPEINTHEBOXESANDTHEN' html=1]--> <b><!--[pnml name='_PNC_SUBMIT2' html=1]--></b><br><br>

<form name="shopconfig" action="<!--[$urls.admin_configresponse]-->" method="post">
<!--IMPORTANT!-->
<input type="hidden" name="authid" value="<!--[pnsecgenauthkey module="pncommerce"]-->">
        <fieldset>
			<legend>
				<!--[ pnml name='_PNC_SETTINGSGENERAL' html=1 ]-->&nbsp; <a <!--[pncManualURL Chapter="201a" OpenHelpWindow='1']-->> <!--[pnimg src="doc.gif" border='0' ]--></a>
			</legend>
        <table width="100%" cellpadding="1" border="0">
            <tr><td align="right"><b><!--[pnml name='_PNC_COMPANY' html=1]--></b></td>
            <td>
            <INPUT TYPE="text" NAME="Company" SIZE="40" VALUE="<!--[$shopConfigSupplier.Company]-->"></td></tr>
            <tr><td align="right"><b><!--[pnml name='_PNC_ADDRESS1' html=1 ]--></b></td>
            <td>
            <INPUT TYPE="text" NAME="Address1" SIZE="40" VALUE="<!--[$shopConfigSupplier.Address1]-->"></td></tr>
            <tr><td align="right"><b><!--[pnml name='_PNC_ADDRESS2' html=1 ]--></b></td>
            <td>
            <INPUT TYPE="text" NAME="Address2" SIZE="40" VALUE="<!--[$shopConfigSupplier.Address2]-->"></td></tr>
            <tr><td align="right"><b><!--[pnml name='_PNC_CITY' html=1 ]--></b></td>
            <td>
            <INPUT TYPE="text" NAME="City" SIZE="40" VALUE="<!--[$shopConfigSupplier.City]-->"></td></tr>
            <tr>
                <td align="right">
                    <b><!--[pnml name='_PNC_STATE' html=1 ]--></b>
                 </td>
                <td>
                    <select name="State" style="display: <!--[ if (($shopConfigSupplier.Country==$Canada)OR($shopConfigSupplier.Country==$USA)) ]-->inline<!--[ else ]-->none<!--[ /if ]-->;">
                    <!--[ pncStateSelectlist SelectedState=$shopConfigSupplier.State Country=$shopConfigSupplier.Country ]-->
                    </select>


                </td>
            </tr>
            <tr><td align="right"><b><!--[pnml name='_PNC_ZIP' html=1 ]--></b></td>
            <td>
            <INPUT TYPE="text" NAME="Zip" SIZE="40" VALUE="<!--[$shopConfigSupplier.Zip]-->"></td></tr>
            <tr><td align="right"><b><!--[pnml name='_PNC_COUNTRY' html=1 ]--></b></td>
            <td>
            <select name="Country" onChange="populate(document.shopconfig,document.shopconfig.Country.options[document.shopconfig.Country.selectedIndex].value)">
            <!--[ pncCountrySelectlist SelectedCountry=$shopConfigSupplier.Country ]-->
            </select>
            </td></tr>
            <tr>
                <td align="right">
                    <b><!--[pnml name='_PNC_ADDRESSFORMAT' html=1 ]--></b>
                </td>
                <td>
                    <INPUT TYPE="text" NAME="AddressFormat" SIZE="40" VALUE="<!--[$shopConfigSupplier.AddressFormat]-->">
                    <a onClick='alert("<!--[pnml name='_PNC_ADDRESSFORMATHELP']-->")'><!--[ pnimg src='hlp.gif' border=0 alt='help.gif' ]--></a>
                </td>
            </tr>
            <tr><td align="right"><b><!--[pnml name='_PNC_PHONE' html=1 ]--></b></td>
            <td>
            <INPUT TYPE="text" NAME="Phone" SIZE="40" VALUE="<!--[$shopConfigSupplier.Phone]-->"></td></tr>
            <tr><td align="right"><b><!--[pnml name='_PNC_FAX' html=1 ]--></b></td>
            <td>
            <INPUT TYPE="text" NAME="Fax" SIZE="40" VALUE="<!--[$shopConfigSupplier.Fax]-->"></td></tr>
            <tr><td align="right"><b><!--[pnml name='_PNC_WEB' html=1 ]--></b></td>
            <td>
            <INPUT TYPE="text" NAME="Web" SIZE="40" VALUE="<!--[$shopConfigSupplier.Web]-->"></td></tr>
            <tr><td align="right"><b><!--[pnml name='_PNC_EMAIL' html=1 ]--></b></td>
            <td>
            <INPUT TYPE="text" NAME="Email" SIZE="40" VALUE="<!--[$shopConfigSupplier.Email]-->"></td></tr>
            <tr><td align="right"><b><!--[pnml name='_PNC_TAXNUMBER' html=1 ]--></b></td>
            <td>
            <INPUT TYPE="text" NAME="TaxNumber" SIZE="40" VALUE="<!--[$shopConfigSupplier.TaxNumber]-->"></td></tr>
            <tr><td align="right"><b><!--[pnml name='_PNC_BANK' html=1 ]--></b></td>
            <td>
            <INPUT TYPE="text" NAME="Bank" SIZE="40" VALUE="<!--[$shopConfigSupplier.Bank]-->"></td></tr>
            <tr><td align="right"><b><!--[pnml name='_PNC_BANKCODE' html=1 ]--></b></td>
            <td>
            <INPUT TYPE="text" NAME="Bankcode" SIZE="40" VALUE="<!--[$shopConfigSupplier.Bankcode]-->"></td></tr>
            <tr><td align="right"><b><!--[pnml name='_PNC_ACCOUNTNO' html=1 ]--></b></td>
            <td>
            <INPUT TYPE="text" NAME="Account" SIZE="40" VALUE="<!--[$shopConfigSupplier.Account]-->"></td></tr>
        </table>
        </fieldset>
        <br>

        <fieldset>
			<legend>
				<!--[ pnml name='_PNC_SETTINGSMISC' html=1 ]-->&nbsp; <a <!--[pncManualURL Chapter="201b" OpenHelpWindow='1']-->> <!--[pnimg src="doc.gif" border='0' ]--></a>
			</legend>
        <table width="100%" cellpadding="1" border="0">
            <tr><td align="right"><input TYPE="checkbox" NAME="DisableIntl" VALUE="on"<!--[$shopConfigGeneral.DisableIntlchecked]-->></td>
            <td><b><!--[pnml name='_PNC_DISABLEINTERNATIONAL' html=1 ]--></b></td></tr>
            <tr><td align="right"><input TYPE="checkbox" NAME="DefaultTaxExempt" VALUE="on"<!--[$shopConfigArticles.TaxExemptchecked]-->></td>
            <td><b><!--[pnml name='_PNC_CREATEITEMSASTAXEXEMPT' html=1 ]--></b></td></tr>

        <tr>
            <td align="right"><input TYPE="checkbox" NAME="JumpToCartviewAfterAdd" VALUE="on"<!--[ $shopConfigSupplier.JumpToCartviewAfterAddchecked ]-->>
			</td>
	    	<td>
				<b><!--[ pnml name='_PNC_JUMPTOCARTVIEWAFTERADD' html=1 ]--></b>
			</td>
		</tr>
        <tr>
            <td align="right"><input TYPE="checkbox" NAME="VatIncluded" VALUE="on" <!--[ $shopConfigSupplier.VatIncludedChecked ]-->>
			</td>
	    	<td>
				<b><!--[ pnml name='_PNC_VATINCLUDED' html=1 ]--></b>
			</td>
		</tr>
		<tr>
			<td align="right">
				<b><!--[ pnml name='_PNC_MINIMUMORDERVALUE' html=1 ]--></b>
			</td>
	    	<td>
				<INPUT TYPE="text" NAME="MinimumOrderValue" SIZE="5" VALUE="<!--[ $shopConfigSupplier.MinimumOrderValue ]-->">
			</td>
		</tr>
        <tr>
			<td align="right">
				<b><!--[pnml name='_PNC_WEIGHTUNIT' html=1 ]--></b>
			</td>
            <td>
            <select name="WeightUnit">
                <option value="_PNC_KG" <!--[if $shopConfigArticles.WeightUnit=="_PNC_KG"]-->selected<!--[/if]-->>
                  <!--[ pnml name='_PNC_KG' ]-->
                </option>
                <option value="_PNC_LB" <!--[if $shopConfigArticles.WeightUnit=="_PNC_LB"]-->selected<!--[/if]-->>
                  <!--[ pnml name='_PNC_LB' ]-->
                </option>
            </select>
            </td></tr>

            <tr><td align="right"><b><!--[pnml name='_PNC_SHOWITEMS' html=1 ]--></b></td>
            <td>
            <SELECT NAME="ShowItems"><OPTION VALUE=""> </OPTION>
            <!--[html_options options=$shopConfigCatalog.ShowItemOptions selected=$shopConfigCatalog.ShowItems]-->
            </SELECT></td></tr>

            <tr>
				<td align="right">
					<b><!--[pnml name='_PNC_MAXIMUMCARTLIFETIME' html=1 ]--></b>
				</td>
            	<td>
            		<INPUT TYPE="text" NAME="MaximumCartLifetime" SIZE="5" VALUE="<!--[$shopConfigSupplier.MaximumCartLifetime]-->">
				</td>
			</tr>

            <tr>
				<td align="right">
					<b><!--[pnml name='_PNC_MAXITEMSTOREMEMBER' html=1 ]--></b>
				</td>
            	<td>
            		<INPUT TYPE="text" NAME="MaxItemsToRemember" SIZE="3" VALUE="<!--[$shopConfigSupplier.MaxItemsToRemember]-->">
				</td>
			</tr>

            <tr>
                <td align="right">
                    <b><!--[pnml name='_PNC_LOGLEVEL' html=1 ]--></b>
                </td>
                <td>
                    <!--[ html_options name=MaximumLogLevel options=$LogLevels selected=$shopConfigSupplier.MaximumLogLevel ]-->
                </td>
            </tr>

            <tr>
                <td align="right">
                    <INPUT TYPE="checkbox" NAME="UseAuthKeys"<!--[ $shopConfigSupplier.useauthkeyschecked]--> value="on">
                </td>
                <td>
                    <b><!--[pnml name='_PNC_AUTHKEYUSAGE' html=1 ]--></b>
                </td>
            </tr>

        </table>
        </fieldset>
        <br>

        <fieldset>
			<legend>
				<!--[ pnml name='_PNC_SETTINGSTEMPLATES' html=1 ]-->&nbsp; <a <!--[pncManualURL Chapter="201c" OpenHelpWindow='1']-->> <!--[pnimg src="doc.gif" border='0' ]--></a>
			</legend>
        <table width="100%" cellpadding="1" border="0">
 
		<tr><td align='right'><b><!--[ pnml name='_PNC_SHOPINTROTEMPLATE' html=1 ]--></b></td>
		<td><SELECT class='pn-text' NAME='ShopIntroTemplateID'>
		<!--[ $ShopIntroTemplateList ]-->
		</SELECT></td></tr>
		<tr><td align='right'><b><!--[ pnml name='_PNC_DEFAULTCATEGORYVIEWTEMPLATE' html=1 ]--></b></td>
		<td><SELECT class='pn-text' NAME='DefaultCategoryViewTemplateID'>
		<!--[ $CategoryViewTemplateList ]-->
		</SELECT></td></tr>
		<tr><td align='right'><b><!--[ pnml name='_PNC_DEFAULTITEMVIEWTEMPLATE' html=1 ]--></b></td>
		<td><SELECT class='pn-text' NAME='DefaultItemViewTemplateID'>
		<!--[ $ItemViewTemplateList ]-->
		</SELECT></td></tr>
		<tr><td align='right'><b><!--[ pnml name='_PNC_MAILTEMPLATE' html=1 ]--></b></td>
		<td><SELECT class='pn-text' NAME='MailTemplateID'>
		<!--[ $CustomerMailTemplateList ]-->
		</SELECT></td></tr>
		<tr><td align='right'><b><!--[ pnml name='_PNC_INTERNALMAILTEMPLATE' html=1 ]--></b></td>
		<td><SELECT class='pn-text' NAME='InternalMailTemplateID'>
		<!--[ $InternalMailTemplateList ]-->
		</SELECT></td></tr>
		<tr><td align='right'><b><!--[ pnml name='_PNC_INVOICETEMPLATE' html=1 ]--></b></td>
		<td><SELECT class='pn-text' NAME='InvoiceTemplateID'>
		<!--[ $InvoiceTemplateList ]-->
		</SELECT></td></tr>
		<tr><td align='right'><b><!--[ pnml name='_PNC_PRINTINVOICETEMPLATE' html=1 ]--></b></td>
		<td><SELECT class='pn-text' NAME='PrintInvoiceTemplateID'>
		<!--[ $PrintInvoiceTemplateList ]-->
		</SELECT></td></tr>
        </table>
        </fieldset>
        <br>

        <fieldset>
			<legend>
				<!--[ pnml name='_PNC_SETTINGSSSL' html=1 ]-->&nbsp; <a <!--[pncManualURL Chapter="201e" OpenHelpWindow='1']-->> <!--[pnimg src="doc.gif" border='0' ]--></a>
			</legend>
        <table width="100%" cellpadding="1" border="0">
            <tr><td align="right"><b><!--[pnml name='_PNC_USESSL' html=1 ]--></b></td>
            <td><INPUT TYPE="checkbox" NAME="UseSSL" VALUE="on" <!--[$shopConfigSSL.UseSSLCheck]-->></td></tr>
            <tr><td align="right"><!--[pnml name='_PNC_SSLPATHDESCRIPTION' html=1 ]--></td>
            <tr><td align="right"><b><!--[pnml name='_PNC_SSLPATH' html=1 ]--></b></td>
            <td><INPUT TYPE="text" NAME="SSLPath" SIZE="40" VALUE="<!--[$shopConfigSSL.SSLPath]-->"></td></tr>
            <tr><td align="right"><b><!--[pnml name='_PNC_NONSSLPATH' html=1 ]--></b></td>
            <td><INPUT TYPE="text" NAME="NonSSLPath" SIZE="40" VALUE="<!--[$shopConfigSSL.NonSSLPath]-->"></td></tr>
        </table>
        </fieldset>
        <br>
		<!--[*debug*]-->
        <fieldset>
			<legend>
				<!--[ pnml name='_PNC_SETTINGSTHUMBNAILS' html=1 ]-->&nbsp; <a <!--[pncManualURL Chapter="201f" OpenHelpWindow='1']-->> <!--[pnimg src="doc.gif" border='0' ]--></a>
			</legend>
        <table width="100%" cellpadding="1" border="0">
            <tr><td align="right"><INPUT TYPE="checkbox" NAME="TNUploadDisable"<!--[$shopConfigThumbnail.tnuploadchecked]-->></td>
            <td><b><!--[pnml name='_PNC_TNUPLOADDISABLE' html=1 ]--></b></td></tr>
            <tr><td align="right"><INPUT TYPE="checkbox" NAME="TNIgnoreDisable"<!--[$shopConfigThumbnail.tnignorechecked]-->></td>
            <td><b><!--[pnml name='_PNC_TNIGNOREDISABLE' html=1 ]--></b></td></tr>
            <tr><td align="right"><INPUT TYPE="checkbox" NAME="TNCreateDisable"<!--[$shopConfigThumbnail.tncreatechecked]-->></td>
            <td><b><!--[pnml name='_PNC_TNCREATEDISABLE' html=1 ]--></b></td></tr>
            <tr><td align="right"><b><!--[pnml name='_PNC_TNWIDTHHEIGHT' html=1 ]--></b></td>
            <td><INPUT TYPE="text" NAME="TNWidth" SIZE="4" VALUE="<!--[$shopConfigThumbnail.TNWidth]-->"> x <INPUT TYPE="text" NAME="TNHeight" SIZE="4" VALUE="<!--[$shopConfigThumbnail.TNHeight]-->"></td></tr>
            
            <tr><td align="right"><INPUT TYPE="checkbox" NAME="UseImageReplacements"<!--[$shopConfigThumbnail.useimagereplacementschecked ]-->></td>
            <td><b><!--[pnml name='_PNC_USEIMAGEREPLACEMENTS' html=1 ]--></b></td></tr>
            <tr><td align="right"><b><!--[pnml name='_PNC_ITEMIMAGEREPLACEMENT' html=1 ]--></b></td>
            <td><INPUT TYPE="text" NAME="ItemImageReplacement" SIZE="40"  maxlength='120' VALUE="<!--[$shopConfigThumbnail.ItemImageReplacement]-->"></td></tr>
            <tr><td align="right"><b><!--[pnml name='_PNC_ITEMIMAGETNREPLACEMENT' html=1 ]--></b></td>
            <td><INPUT TYPE="text" NAME="ItemImageTNReplacement" SIZE="40"  maxlength='120' VALUE="<!--[$shopConfigThumbnail.ItemImageTNReplacement]-->"></td></tr>
            <tr><td align="right"><b><!--[pnml name='_PNC_CATEGORYIMAGEREPLACEMENT' html=1 ]--></b></td>
            <td><INPUT TYPE="text" NAME="CategoryImageReplacement" SIZE="40"  maxlength='120' VALUE="<!--[$shopConfigThumbnail.CategoryImageReplacement]-->"></td></tr>
            <tr><td align="right"><b><!--[pnml name='_PNC_CATEGORYIMAGETNREPLACEMENT' html=1 ]--></b></td>
            <td><INPUT TYPE="text" NAME="CategoryImageTNReplacement" SIZE="40"  maxlength='120' VALUE="<!--[$shopConfigThumbnail.CategoryImageTNReplacement]-->"></td></tr>

            <tr><td align="right"><INPUT TYPE="radio" NAME="TNCreateMethod" VALUE="im"<!--[$shopConfigThumbnail.tnimchecked]-->><b><!--[pnml name='_PNC_TNVIAIM' html=1 ]--></b></td>
            <td><b><!--[pnml name='_PNC_TNPATHIM' html=1 ]-->: </b><INPUT TYPE="text" NAME="TNIMPath" SIZE="40" VALUE="<!--[$shopConfigThumbnail.TNIMPath]-->"></td></tr>
            <tr><td align="right"><INPUT TYPE="radio" NAME="TNCreateMethod" VALUE="gd"<!--[$shopConfigThumbnail.tngdchecked]-->><b><!--[pnml name='_PNC_TNVIAGD' html=1 ]--></b></td>
            <td>&nbsp;</td></tr>
        </table>
        </fieldset>
        <br>
		
        <fieldset>
			<legend>
				<!--[ pnml name='_PNC_SETTINGSPOLICIES' html=1 ]-->&nbsp; <a <!--[pncManualURL Chapter="201g" OpenHelpWindow='1']-->> <!--[pnimg src="doc.gif" border='0' ]--></a>
			</legend>
        <table width="100%" cellpadding="1" border="0">
            <tr><td align="right"><INPUT TYPE="checkbox" NAME="EnablePolicies"<!--[$shopConfigPolicies.enablepolicieschecked]-->></td>
            <td><b><!--[pnml name='_PNC_ENABLEPOLICIES']--></b></td></tr>
            <tr><td align="right"><b><!--[pnml name='_PNC_STOREPOLICIES' html=1 ]--></b></td>
            <td><TEXTAREA ROWS="6" COLS="60" NAME="StorePolicies"><!--[$shopConfigPolicies.StorePolicies]--></TEXTAREA></td></tr>
            <tr><td align="right"><INPUT TYPE="checkbox" NAME="AgreeToPolicies"<!--[$shopConfigPolicies.agreetopolicieschecked]-->></td>
            <td><b><!--[pnml name='_PNC_CUSTOMERSMUSTAGREETOPOLICIES' html=1 ]--></b></td></tr>
            <tr><td align="right"><INPUT TYPE="checkbox" NAME="AcknowledgeLaw"<!--[$shopConfigPolicies.acknowledgelawchecked]-->></td>
            <td><b><!--[pnml name='_PNC_CUSTOMERSMUSTACKNOWLEDGELAW' html=1 ]--></b></td></tr>
        </table>
        </fieldset>
        <p align="center"><INPUT TYPE="submit" NAME="Submit" VALUE="<!--[pnml name='_PNC_SUBMIT']-->"></p>
    </form>
</center>
<br>

<!--[include file='pncommerce_admin_commonFooter.html']-->
